//
//  ZMToast.h
//  ZMKitDemo
//
//  Created by zm on 2018/6/14.
//  Copyright © 2018年 zm. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "UIView+Toast.h"

@interface ZMToast : NSObject

+ (void)showToast:(NSString *)message;
+ (void)showToast:(NSString *)message inView:(UIView *)view;

+ (void)showToastActivity;
+ (void)showToastActivityInView:(UIView *)view;
+ (void)hideToastActivity;
+ (void)hideToastActivityInView:(UIView *)view;


+ (void)showToastWithMessage:(NSString *)message
                       title:(NSString *)title
                      inView:(UIView *)view;

+ (void)showToastWithMessage:(NSString *)message
                       image:(UIImage *)image
                      inView:(UIView *)view;

+ (void)showToastWithMessage:(NSString *)message
                       title:(NSString *)title
                       image:(UIImage *)image
                      inView:(UIView *)view;

+ (void)showToastWithMessage:(NSString *)message
                       title:(NSString *)title
                    duration:(NSTimeInterval)duration
                      inView:(UIView *)view
                  completion:(void(^)(BOOL didTap))completion;

+ (void)showToastWithMessage:(NSString *)message
                       image:(UIImage *)image
                    duration:(NSTimeInterval)duration
                      inView:(UIView *)view
                  completion:(void(^)(BOOL didTap))completion;

+ (void)showToastWithMessage:(NSString *)message
                       title:(NSString *)title
                       image:(UIImage *)image
                    duration:(NSTimeInterval)duration
                      inView:(UIView *)view
                  completion:(void(^)(BOOL didTap))completion;

@end
